package com.shine.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shine.entity.Role;
import com.shine.info.RoleInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author huihui
 * @date 2025/10/11 16:19
 * @description RoleMapper
 */
public interface RoleMapper extends BaseMapper<Role> {

    List<RoleInfo> getByUserId(@Param("userId") Long userId);

    List<RoleInfo> getByUserIdList(@Param("userIdList") List<Long> userIdList);

}
